import {createHashHistory} from "history"
export const HashHistroy = new createHashHistory()

export const common={
    gotowhere(history,url){
        history.push(url)
    }
}


export const roleList=[
    {
        id:0,
        value:0,
        text:"员工",
        color:"#123456"
    },
    {
        id:1,
        value:1,
        text:"组长",
        color:"#f50"
    },
    {
        id:2,
        value:2,
        text:"管理",
        color:"#E6A23C"
    },
    {
        id:3,
        value:3,
        text:"经理",
        color:"#F56C6C"
    }
]